package com.hsy.baoinbao.modules.login.gsondata;

import com.hsy.baoinbao.utils.CommonUtils;

/**
 * Created by hsy on 2016/3/23.
 */
public class LoginResultData {

    private int error;

    private String msg;

    private Result result;

    public void setError(int error){
        this.error = error;
    }
    public int getError(){
        return this.error;
    }
    public void setMsg(String msg){
        this.msg = msg;
    }
    public String getMsg(){
        return this.msg;
    }
    public void setResult(Result result){
        this.result = result;
    }
    public Result getResult(){
        return this.result;
    }

    public class Result {
        private String token;

        private int type;

        private String uid = CommonUtils.INVALID_UID;

        public void setToken(String token){
            this.token = token;
        }
        public String getToken(){
            return this.token;
        }
        public void setType(int type){
            this.type = type;
        }
        public int getType(){
            return this.type;
        }

        public String getUid() {
            return uid;
        }

        public void setUid(String uid) {
            this.uid = uid;
        }
    }
}
